package com.oa.service;

import java.util.List;
import java.util.Map;

import com.oa.bean.IntegernalMail;
import com.oa.bean.Section;
import com.oa.bean.User;

public interface IntegernalMailService {

	List<User> getListUser(Integer deptno);
	
	String sendMail(IntegernalMail mail);
	
	Map<String,Object> getMyEmailList(Integer currentPage,Integer eid);
	
	Map<String,Object> getReceiveEmail(Integer currentPage,String userName);
	
	IntegernalMail getEmailOne(String rstate,Integer eid,String userName);
	
	String delectMySendMail(String text);
	
	String delectMyReceive(String text,String userName);
	
	List<Section> getDeptnoandName();
	
}
